
import request from "@/utils/request";
//查询列表
export function getPageRealTimeList(data) {
  return request({
    url: "/system/apiSecurityReport/getPageRealTimeList",
    method: "get",
    params: data,
  });
}
//查询历史列表
export function getPageHistoryList(data) {
  return request({
    url: "/system/apiSecurityReport/getPageHistoryList",
    method: "get",
    params: data,
  });
}
//树节点列表
export function orgList(data) {
  return request({
    url: "/system/appOrg/list",
    method: "get",
    params: data,
  });
}
//查询报告基本信息
export function getBaseInfo(data) {
  return request({
    url: "/system/apiSecurityReport/getBaseInfo",
    method: "get",
    params: data,
  });
}
//安全报告得分（仪表盘）
export function getSecurityScore(data) {
  return request({
    url: "/system/apiSecurityReport/getSecurityScore",
    method: "get",
    params: data,
  });
}
//查询报告概览信息
export function getReportOverview(data) {
  return request({
    url: "/system/apiSecurityReport/getReportOverview",
    method: "get",
    params: data,
  });
}
//查询报告敏感词列表
export function getSensitiveWords(data) {
  return request({
    url: "/system/apiSecurityReport/getSensitiveWords",
    method: "get",
    params: data,
  });
}
//查询报告基线异常分布饼图数据
export function getBaseLineChartData(data) {
  return request({
    url: "/system/apiSecurityReport/getBaseLineChartData",
    method: "get",
    params: data,
  });
}
//查询报告数据分类柱状图数据
export function getDataLevelChartData(data) {
  return request({
    url: "/system/apiSecurityReport/getDataLevelChartData",
    method: "get",
    params: data,
  });
}
//查询报告近七日访问数据
export function getLastWeekVisitTrend(data) {
  return request({
    url: "/system/apiSecurityReport/getLastWeekVisitTrend",
    method: "get",
    params: data,
  });
}
//查询报告综合建议
export function getSuggestion(data) {
  return request({
    url: "/system/apiSecurityReport/getSuggestion",
    method: "get",
    params: data,
  });
}
